package com.mxfcode.back.service;

import com.mxfcode.bbs_common.response.PageDataResult;
import com.mxfcode.entity.TSRole;

import java.util.List;
import java.util.Map;

/**
 * @author moxiufeng
 * @date 2021/3/7 21:17
 */
public interface RoleService {

    PageDataResult getRoleList(Integer pageNum, Integer pageSize);

    Map<String, Object> addRole(TSRole role);

    Map<String, Object> updateRole(TSRole role);

    Map<String, Object> delRole(int id, Integer status);

    Map<String, Object> recoverRole(int id, Integer status);

    List<TSRole> getRoles();
}
